package com.itheima.FangFa;

public class FangFaEZDemo2 {
    public static void main(String[] args) {
        //目标：掌握带参数方法的定义格式与调用
        getSum(1,2);
    }

    public static void getSum(int num1,int num2) {
        int result = num1 + num2;
        System.out.println(result);
    }
}
